//
//  MainMenuController.m
//  blackjack
//
//  Created by Thi Nguyen Tran on 3/24/10.
//  Copyright 2010 Epsilon. All rights reserved.
//

#import "MainMenuController.h"
#import "constants.h"
#import "SoundManager.h"

@implementation MainMenuController

@synthesize delegate;

- (IBAction)basicBtnTouched {
	[SoundManager playSoundTrack:@"MenuItem"];
	selectedButton_ = BASIC_STRATEGY;
	[delegate chooseMode:selectedButton_];
}

- (IBAction)tutorBtnTouched {
	[SoundManager playSoundTrack:@"MenuItem"];
	selectedButton_ = TUTORIAL_AND_TIPS;
	[delegate chooseMode:selectedButton_];
}

- (IBAction)inforBtnTouched {
	[SoundManager playSoundTrack:@"MenuItem"];
	selectedButton_ = INFORMATION;
	[delegate chooseMode:selectedButton_];
}

- (IBAction)countBtnTouched {
	[SoundManager playSoundTrack:@"MenuItem"];
	selectedButton_ = CARD_COUNTING;
	[delegate chooseMode:selectedButton_];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
	
}

- (void)dealloc {
    [super dealloc];
}


@end
